package com.briup.ptp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.ptp.entity.Disease;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Classname IllnessService
 * @Description TODO
 * @Date 2024/2/25 15:10
 * @Created by ASUS
 * @Version v1.0.0
 */
public interface IllnessService  extends IService<Disease> {

    PageInfo<Disease> findIllness(String name,Integer PageSize, Integer pageNum);

    void saveOrUpdateIllness(Disease disease);

    void updateIllness(Integer id);

    void deleteDisease(Integer id);

    void  batchDeleteDisease(List<Integer> id);


}
